package com.zy.dubbo.provider.normal;

import com.zy.dubbo.api.test.TestService;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

/**
 * @author Robbin Zhao
 * @since 2020/12/1
 */
@Service
public class NormalService {

    @Resource
    private TestService testService;

    @PostConstruct
    public void init() {
        System.out.println("init ...");
        testService.getInfo("123");
    }
}
